import Link from 'next/link';
import UserManagement from '@/components/UserManagement';

export default function UsersPage() {
  return (
    <div className="min-h-screen bg-gray-50">
      <div className="container mx-auto p-4">
        {/* 返回主页按钮 */}
        <div className="mb-4">
          <Link 
            href="/" 
            className="inline-flex items-center px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition-colors"
          >
            ← 返回主页
          </Link>
        </div>
        
        {/* 用户管理组件 */}
        <UserManagement />
      </div>
    </div>
  );
}